Skip to content

Conversation

@luigidellaquila
Copy link
Contributor

This PR is based on #134696, so merge that first.

Here I'm introducing a variant of the generative tests that runs on top of CSV rather than on a real ES cluster.

GenerativeCsvTests is a mix of CsvTests and GenerativeRestTest, most of the code is actually borrowed from these two classes.

The intention is to run ES|QL generative tests in a setup that produces stable and deterministic results (no multi-threading, no multiple shards, no random order in the results and so on), so that we can also validate the output.

This PR also introduces some additional result validation to the command generators, made optional with a flag, so that it only runs in these tests (and not in GenerativeIT, that can't rely on stable results).

@luigidellaquila luigidellaquila added >test Issues or PRs that are addressing/adding tests :Analytics/ES|QL AKA ESQL labels Sep 14, 2025
@elasticsearchmachine elasticsearchmachine added Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.2.0 labels Sep 14, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@luigidellaquila luigidellaquila marked this pull request as draft September 14, 2025 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test Issues or PRs that are addressing/adding tests v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants